package com.example.MatchGame;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

import com.example.wonderfulradish.R;
//模板第一绿色萝卜游戏
public class Match_green extends AppCompatActivity implements View.OnClickListener{
    private Button green_brgin;
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.match_green);
        green_brgin=(Button) findViewById(R.id.greenstart);
        green_brgin.setOnClickListener(this);
    }
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.greenstart:
                Intent intent2 = new Intent(Match_green.this, MatchGame.class);
                startActivity(intent2);
        }
    }
}
